{% load i18n %}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
		<title>{% block title %}Tu Negocio Empresarios{% endblock %}</title>
		{% block css %}
			{% block head-css-ext %}
			  <link rel="stylesheet" type="text/css" href="{{MEDIA_URL}}css/layout.css" media="screen" />
			{% endblock %}
			{% block head-css-embedded %} {% endblock %}
		{% endblock %}
    
		{% block js %}
			{% block google-analytics %}
				<script type="text/javascript">
				
				  var _gaq = _gaq || [];
				  _gaq.push(['_setAccount', 'UA-18691302-2']);
				  _gaq.push(['_trackPageview']);
				
				  (function() {
					var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
					ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
					var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
				  })();
				
				</script>
			{% endblock %}			
			{% block head-js-ext %} {% endblock %}
			{% block head-js-embedded %} {% endblock %}
		{% endblock %}    
	</head>	
	<body>
		<div id="header">
			{% block header %}
				<div id="logo">
					{% block logo %}
						<h1>Tu Negocio Empresarios</h1>
					{% endblock %}
				</div>
			{% endblock %}
    </div>
		<div id="navigation">
			{% block navigation %}				
				{% if user.is_authenticated %}
					<ul>
						<li><a href="{% url index %}" class="first">{% trans "Home" %}</a></li>
						<li><a href="{% url edit_account %}">Configuración de la cuenta</a></li>
						<li><a href="{% url auth_logout %}">{% trans "Log out" %}</a></li>
					</ul>
				{% endif %}				
			{% endblock %}
		</div>
		<div id="content">
			{% block content %}
				<div id="page">
					<div id="column1">
						{% block content-colum1 %}
							<div class="box1">
								{% block content-box1 %} {% endblock %}
							</div>
						{% endblock %}
					</div>
					<div id="column2">
						{% block content-colum2 %}{% endblock %}
					</div>
				</div>
				<div style="clear: both;">&nbsp;</div>					
			{% endblock %}
    </div>
		<div id="footer">
			{% block footer %}
				<p>&copy;&nbsp;Copyright 2009. All Rights Reserved. template design by <a href="http://www.ZhengDesign.com" class="links">zhengdesign.com</a> </p>
      {% endblock %}
    </div>
	</body>
</html>
